#pragma once
#ifndef __NFG__H
#define __NFG__H

#include "../Utilities/Math.h"

struct vertex
{
	Vector3 pos;
	Vector3 norm;
	Vector3 biNorm;
	Vector3 tgt;
	Vector2 uv;
};

typedef struct vertex VERTEX;


class CNFG
{
private:
	VERTEX* m_aVertices; //array of VERTEX
	int m_iNumOfVertices;


	float* m_aVerticesArray; //array of vertices in one demention

	unsigned int* m_aiIndices; //array of indices in one demention
	int m_iNumOfIndices;

public:
	CNFG();
	CNFG(char* fileName);
	~CNFG();
	bool LoadFile(char* fileName);


	VERTEX* GetVerties();
	float* GetVertiesArray();
	unsigned int* GetIndices();	

	int GetNumOfVertices();
	int GetNumOfIndices();

};
#endif